/*
 * Classname Response.java
 * 
 * Version Information
 * Date Mar 21, 2006
 *
 * Copyright (c) AmSoft Systems, 2006
 */
package net.amsoft.iservice.isso.hibernate;

/**
 * @author jyoti
 */

import org.apache.log4j.Logger;

public class Response extends ISSOObject {
    private static Logger logger = Logger.getLogger(Response.class);

    private String sEncArtifactId;
    private String sResponse;
    private Cookie oCookie;

    public Response() {
    }

    public String getEncArtifactId() {
        return this.sEncArtifactId;
    }
    public void setEncArtifactId(String encArtifactId) {
        this.sEncArtifactId = encArtifactId;
    }
    
    public Cookie getCookie() {
        return this.oCookie;
    }
    public void setCookie(Cookie cookie) {
        this.oCookie = cookie;
    }
    
    public String getResponse() {
        return this.sResponse;
    }
    public void setResponse(String response) {
        this.sResponse = response;
    }

    public void debug(String prefix) {
        logger.debug(prefix + " : Pending Response(" + id + ", "
                + sEncArtifactId + ", " + sResponse + " , " + creationTime
                + " , " + modificationTime + ")");

    }
}
